package me.luger.project.picc.entity;


import me.luger.core.dao.nutz.entity.BaseEntity;
import org.nutz.dao.entity.annotation.*;
import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

@Table("learnHealth")
public class LearnHealth extends BaseEntity implements Serializable{
private static final long serialVersionUID=1L;


    /**
     * 
     */
    @Id
    @Column("id")
    @Comment("")
    @ColDefine(type = ColType.INT, width = 10)
    private Integer id;
    /**
     * 
     */
    @Column("openId")
    @Comment("")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String openId;
//    /**
//     *
//     */
//    @Column("pid")
//    @Comment("")
//    @ColDefine(type = ColType.VARCHAR, width = 255)
//    private String pid;
    /**
     * 
     */
    @Column("score")
    @Comment("")
    @ColDefine(type = ColType.INT, width = 10)
    private Integer score;


    @Column("doPrizeStatus")
    @Comment("是否能参与抽奖 0:不可以 1:可以")
    @ColDefine(type = ColType.INT, width = 2)
    private Integer doPrizeStatus;

    public void setId(Integer id){
        this.id=id;
    }
    public Integer getId(){
        return this.id;
    }

    public void setOpenId(String openId){
        this.openId=openId;
    }
    public String getOpenId(){
        return this.openId;
    }

//    public void setPid(String pid){
//        this.pid=pid;
//    }
//    public String getPid(){
//        return this.pid;
//    }

    public void setScore(Integer score){
        this.score=score;
    }
    public Integer getScore(){
        return this.score;
    }

    public Integer getDoPrizeStatus() {
        return doPrizeStatus;
    }

    public void setDoPrizeStatus(Integer doPrizeStatus) {
        this.doPrizeStatus = doPrizeStatus;
    }
}